﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace MetroGA.Core.Hits
{
	internal class ViewHit : Hit
	{
		public string ViewName { get; set; }

		public override IEnumerable<KeyValuePair<string, string>> ToKeyValuePairs()
		{
			return new Dictionary<string, string>
				{
					{"t", "appview"},
					{"cd", ViewName},
				}
				.Concat(base.ToKeyValuePairs());
		}
	}
}